﻿@model KKU.RBSFPP.Shared.DAC.Member

@{
    ViewBag.Title = "Create";
}
@Html.Partial("_AccountMenu")

<h3><span class="label label-success"><span class="glyphicon glyphicon-plus"></span> เพิ่มบัญชีพนักงาน</span></h3>



@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend></legend>

          @*<h4>สิทธิ์</h4>
        <div class="editor-field">
            @Html.DropDownList("PrivilegeLevelId", String.Empty)
            @Html.ValidationMessageFor(model => model.PrivilegeLevelId)
        </div>*@

        <h4>ชื่อผู้ใช้</h4>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Username, new { @class="form-control" ,placeholder="ชื่อผู้ใช้"})
            @Html.ValidationMessageFor(model => model.Username)
        </div>

        <h4>รหัสประจำตัวประชาชน</h4>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.PersonalId, new { @class="form-control" ,placeholder="รหัสประจำตัวประชาชน"})
            @Html.ValidationMessageFor(model => model.PersonalId)
        </div>

        <h4>ชื่อ</h4>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.FirstName, new { @class="form-control" ,placeholder="ชื่อ"})
            @Html.ValidationMessageFor(model => model.FirstName)
        </div>

        <h4>นามสกุล</h4>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.LastName, new { @class="form-control" ,placeholder="นามสกุล"})
            @Html.ValidationMessageFor(model => model.LastName)
        </div>

        <h4>ที่อยู่</h4>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Address, new { @class="form-control" ,placeholder="ที่อยู่"})
            @Html.ValidationMessageFor(model => model.Address)
        </div>

        <h4>เบอร์โทรศัพท์</h4>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.TelephoneNumber, new { @class="form-control" ,placeholder="เบอร์โทรศัพท์"})
            @Html.ValidationMessageFor(model => model.TelephoneNumber)
        </div>

        <legend></legend>
         
        <p>
            <a href=@Url.Action("Index", "MemberEmployee") class="btn btn-danger"><span class="glyphicon glyphicon-remove-circle"></span> ยกเลิก</a>
            <button type="submit" class="btn btn-success"><span class="glyphicon glyphicon-ok-circle"></span> ตกลง</button>
        </p>

      
    </fieldset>
}



@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
